<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>detail</title>
        <link href="
    https://cdn.jsdelivr.net/npm/layui@2.9.16/dist/css/layui.min.css
    " rel="stylesheet">
        <link href="
https://cdn.jsdelivr.net/npm/layui@2.9.16/dist/css/layui.min.css
" rel="stylesheet">
        <link rel="shortcut icon"
            href="https://infotoplaza.com/information/assets/favicon.ico">
        <link rel="stylesheet" href="https://infotoplaza.com/information/css/reset.css">
        <link rel="stylesheet" href="https://infotoplaza.com/information/css/public.css">
        <!-- <link rel="stylesheet" href="https://infotoplaza.com/information/detail/index.css"> -->
        <link rel="stylesheet" href="https://infotoplaza.com/information/detail/index.css">

    </head>

    <body>
        <header class="header">
            <div class="wrap">
                <div class="main-header">
                    <div class="menuBtn">
                        <img src="https://infotoplaza.com/information/assets/menu.png" alt>
                    </div>
                    <nav class="nav" aria-label="Site Menu">
                        <a class="logo-is-image logo-link"
                            href="https://infotoplaza.com/information/" rel="home"
                            title="Infotoplaza">
                            <h1>
                                <img alt="Infotoplaza" class="logo-image"
                                    src="https://infotoplaza.com/information/assets/logo.jpg"
                                    srcset="https://infotoplaza.com/information/assets/logo.jpg ../assets/logo.jpg 2x">
                            </h1>
                        </a>
                        <ul id="menu-primary-menu-english" class="nav__list">
                            <li id="menu-item-125" class="menu-item">
                                <a class="nav__link" target="_parent"
                                    href="https://infotoplaza.com/information/category/travel/">Travel</a>
                            </li>
                            <li id="menu-item-125" class="menu-item">
                                <a class="nav__link" target="_parent"
                                    href="https://infotoplaza.com/information/category/health/">Health</a>
                            </li>
                            <li id="menu-item-125" class="menu-item">
                                <a class="nav__link" target="_parent"
                                    href="https://infotoplaza.com/information/category/lifeStyle/">LifeStyle</a>
                            </li>
                            <li id="menu-item-125" class="menu-item">
                                <a class="nav__link" target="_parent"
                                    href="https://infotoplaza.com/information/category/finance/">Finance</a>
                            </li>
                            <li id="menu-item-125" class="menu-item">
                                <a class="nav__link" target="_parent"
                                    href="https://infotoplaza.com/information/category/auto/">Auto</a>
                            </li>
                            <li id="menu-item-125" class="menu-item">
                                <a class="nav__link" target="_parent"
                                    href="https://infotoplaza.com/information/category/fashion/">Fashion</a>
                            </li>
                        </ul>
                    </nav>
                    <nav class="mobileNav">
                        <div class="navContent">
                            <img src="https://infotoplaza.com/information/assets/close.png" alt class="closeBtn">
                            <a class="logo-is-image logo-link"
                                href="https://infotoplaza.com/information/" rel="home"
                                title="Infotoplaza">
                                <h1>
                                    <img alt="Infotoplaza" class="logo-image"
                                        src="https://infotoplaza.com/information/assets/logo.jpg"
                                        srcset="https://infotoplaza.com/information/assets/logo.jpg ../assets/logo.jpg 2x">
                                </h1>
                            </a>
                            <ul id="menu-primary-menu-english"
                                class="nav__list">
                                <li id="menu-item-125" class="menu-item">
                                    <a class="nav__link" target="_parent"
                                        href="https://infotoplaza.com/information/category/travel/">Travel</a>
                                </li>
                                <li id="menu-item-125" class="menu-item">
                                    <a class="nav__link" target="_parent"
                                        href="https://infotoplaza.com/information/category/health/">Health</a>
                                </li>
                                <li id="menu-item-125" class="menu-item">
                                    <a class="nav__link" target="_parent"
                                        href="https://infotoplaza.com/information/category/lifeStyle/">LifeStyle</a>
                                </li>
                                <li id="menu-item-125" class="menu-item">
                                    <a class="nav__link" target="_parent"
                                        href="https://infotoplaza.com/information/category/finance/">Finance</a>
                                </li>
                                <li id="menu-item-125" class="menu-item">
                                    <a class="nav__link" target="_parent"
                                        href="https://infotoplaza.com/information/category/auto/">Auto</a>
                                </li>
                                <li id="menu-item-125" class="menu-item">
                                    <a class="nav__link" target="_parent"
                                        href="https://infotoplaza.com/information/category/fashion/">Fashion</a>
                                </li>
                            </ul>
                        </div>
                    </nav>
                    <div class="navMask"></div>

                    <div class="searchBox">
                        <input type="text" placeholder="Search..."
                            class="layui-input">
                        <img src="https://infotoplaza.com/information/assets/Search.png" alt="" class="searchIcon">
                    </div>
                </div>

            </div>

        </header>
        <ul class="breadCrumb wrap">
            <li class="type-name">
                <a href="https://infotoplaza.com/information/">Home</a>
            </li>
            <li class="type-name category_name">

            </li>
        </ul>

        <main class="content_box wrap">
            <div class="articleContent">
                <div class="contentHtml"></div>
                <div class="share"></div>
                <section>
                    <div class="categoryTitle">
                        <h3 class="heading">
                            Latest Articles
                        </h3>
                    </div>
                    <div class="category_content">
                        <article class="articleBox">
                            <a href="./detail" class="imgBox"
                                @click="toDeatil(item)" :title="item.newsTitle">
                                <div class="bgImg bgBox6 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-300x200.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-750x500.jpg 750w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-768x512.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-150x100.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg"
                                    data-sizes="(max-width: 361px) 100vw, 361px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg&quot;);">
                                </div>
                            </a>
                            <div class="mask">
                                <div class="contentText">
                                    <div class="typeBtn">
                                        <a href="./category/index.html">
                                            FINESS
                                        </a>
                                    </div>
                                    <h2 class="titleText">
                                        <a href="./detail/index.html">
                                            Nature’s
                                            Gym: Unleashing the Power of
                                            Biophilia
                                            Workouts</a>
                                    </h2>
                                </div>

                            </div>
                        </article>
                        <article class="articleBox">
                            <a href="./detail" class="imgBox"
                                @click="toDeatil(item)" :title="item.newsTitle">
                                <div class="bgImg bgBox6 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-300x200.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-750x500.jpg 750w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-768x512.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-150x100.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg"
                                    data-sizes="(max-width: 361px) 100vw, 361px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg&quot;);">
                                </div>
                            </a>
                            <div class="mask">
                                <div class="contentText">
                                    <div class="typeBtn">
                                        <a href="./category/index.html">
                                            FINESS
                                        </a>
                                    </div>
                                    <h2 class="titleText">
                                        <a href="./detail/index.html">
                                            Nature’s
                                            Gym: Unleashing the Power of
                                            Biophilia
                                            Workouts</a>
                                    </h2>
                                </div>

                            </div>
                        </article>
                        <article class="articleBox">
                            <a href="./detail" class="imgBox"
                                @click="toDeatil(item)" :title="item.newsTitle">
                                <div class="bgImg bgBox6 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-300x200.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-750x500.jpg 750w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-768x512.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-150x100.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg"
                                    data-sizes="(max-width: 361px) 100vw, 361px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg&quot;);">
                                </div>
                            </a>
                            <div class="mask">
                                <div class="contentText">
                                    <div class="typeBtn">
                                        <a href="./category/index.html">
                                            FINESS
                                        </a>
                                    </div>
                                    <h2 class="titleText">
                                        <a href="./detail/index.html">
                                            Nature’s
                                            Gym: Unleashing the Power of
                                            Biophilia
                                            Workouts</a>
                                    </h2>
                                </div>

                            </div>
                        </article>
                        <article class="articleBox">
                            <a href="./detail" class="imgBox"
                                @click="toDeatil(item)" :title="item.newsTitle">
                                <div class="bgImg bgBox6 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-300x200.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-750x500.jpg 750w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-768x512.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-150x100.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg"
                                    data-sizes="(max-width: 361px) 100vw, 361px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_1904756503-450x300.jpg&quot;);">
                                </div>
                            </a>
                            <div class="mask">
                                <div class="contentText">
                                    <div class="typeBtn">
                                        <a href="./category/index.html">
                                            FINESS
                                        </a>
                                    </div>
                                    <h2 class="titleText">
                                        <a href="./detail/index.html">
                                            Nature’s
                                            Gym: Unleashing the Power of
                                            Biophilia
                                            Workouts</a>
                                    </h2>
                                </div>

                            </div>
                        </article>
                    </div>
                </section>
            </div>
            <div class="aside">
                <section class="relatedPosts">
                    <div class="categoryTitle">
                        <h2 class="heading">
                            Related Articles
                        </h2>
                    </div>
                    <article class="post subPosts">
                        <div class="media">
                            <a href="./detail/index.html"
                                title="9 Things to Understand About Arthritis">
                                <div class="bgImg bgBox4 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-707x500.jpg 707w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-768x543.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-450x318.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg"
                                    data-sizes="(max-width: 135px) 100vw, 135px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg&quot;);">
                                </div>
                            </a>
                        </div>
                        <div class="postsText">
                            <h4 class="postsTitle">
                                <a href="./detail/index.html">
                                    <a href="./detail/index.html">
                                        Set Sail in Style: A
                                        Comprehensive Overview of Yacht
                                        Rentals
                                    </a>
                                </a>
                            </h4>
                            <time class="postsDate"
                                datetime="2024-08-19T15:30:08+00:00">August
                                19, 2024</time>
                        </div>

                    </article>
                    <article class="post subPosts">
                        <div class="media">
                            <a href="./detail/index.html"
                                title="9 Things to Understand About Arthritis">
                                <div class="bgImg bgBox4 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-707x500.jpg 707w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-768x543.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-450x318.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg"
                                    data-sizes="(max-width: 135px) 100vw, 135px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg&quot;);">
                                </div>
                            </a>
                        </div>
                        <div class="postsText">
                            <h4 class="postsTitle">
                                <a href="./detail/index.html">
                                    <a href="./detail/index.html">
                                        Set Sail in Style: A
                                        Comprehensive Overview of Yacht
                                        Rentals
                                    </a>
                                </a>
                            </h4>
                            <time class="postsDate"
                                datetime="2024-08-19T15:30:08+00:00">August
                                19, 2024</time>
                        </div>

                    </article>
                    <article class="post subPosts">
                        <div class="media">
                            <a href="./detail/index.html"
                                title="9 Things to Understand About Arthritis">
                                <div class="bgImg bgBox4 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-707x500.jpg 707w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-768x543.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-450x318.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg"
                                    data-sizes="(max-width: 135px) 100vw, 135px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg&quot;);">
                                </div>
                            </a>
                        </div>
                        <div class="postsText">
                            <h4 class="postsTitle">
                                <a href="./detail/index.html">
                                    <a href="./detail/index.html">
                                        Set Sail in Style: A
                                        Comprehensive Overview of Yacht
                                        Rentals
                                    </a>
                                </a>
                            </h4>
                            <time class="postsDate"
                                datetime="2024-08-19T15:30:08+00:00">August
                                19, 2024</time>
                        </div>

                    </article>
                    <article class="post subPosts">
                        <div class="media">
                            <a href="./detail/index.html"
                                title="9 Things to Understand About Arthritis">
                                <div class="bgImg bgBox4 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-707x500.jpg 707w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-768x543.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-450x318.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg"
                                    data-sizes="(max-width: 135px) 100vw, 135px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg&quot;);">
                                </div>
                            </a>
                        </div>
                        <div class="postsText">
                            <h4 class="postsTitle">
                                <a href="./detail/index.html">
                                    <a href="./detail/index.html">
                                        Set Sail in Style: A
                                        Comprehensive Overview of Yacht
                                        Rentals
                                    </a>
                                </a>
                            </h4>
                            <time class="postsDate"
                                datetime="2024-08-19T15:30:08+00:00">August
                                19, 2024</time>
                        </div>

                    </article>
                    <article class="post subPosts">
                        <div class="media">
                            <a href="./detail/index.html"
                                title="9 Things to Understand About Arthritis">
                                <div class="bgImg bgBox4 lazyloaded"
                                    data-bgset="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg 300w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-707x500.jpg 707w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-768x543.jpg 768w, https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg 150w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-450x318.jpg 450w, https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363.jpg 1000w"
                                    data-bgsrc="https://Infotoplaza.net/wp-content/uploads/2024/08/shutterstock_2466335363-300x212.jpg"
                                    data-sizes="(max-width: 135px) 100vw, 135px"
                                    style="background-image: url(&quot;https://Infotoplaza.net/wp-content/uploads/2024/09/shutterstock_2384414699-300x200.jpg&quot;);">
                                </div>
                            </a>
                        </div>
                        <div class="postsText">
                            <h4 class="postsTitle">
                                <a href="./detail/index.html">
                                    <a href="./detail/index.html">
                                        Set Sail in Style: A
                                        Comprehensive Overview of Yacht
                                        Rentals
                                    </a>
                                </a>
                            </h4>
                            <time class="postsDate"
                                datetime="2024-08-19T15:30:08+00:00">August
                                19, 2024</time>
                        </div>

                    </article>

                </section>
                <div class="AFC">
                    AD
                </div>
            </div>
        </main>

        <footer class="copyRight">
            <div class="wrap">
                <ul class="links">
                    <li><a href="https://infotoplaza.com/information/">Home</a></li>
                    <li><a href="https://infotoplaza.com/information/aboutUs/">ABOUT US</a></li>
                    <li><a href="https://infotoplaza.com/information/term_of_us/">TERMS OF USE</a></li>
                    <li><a href="https://infotoplaza.com/information/privacy_policy/">PRIVACY POLICY</a></li>
                    <li><a href="https://infotoplaza.com/information/contactUs/">CONTACT US</a></li>
                </ul>
                <br>
                <br>
                <p>
                    © 2024 Finfotoplaza.com
                </p>
                <br>
                <strong>Disclaimer</strong>
                <br>
                <div class="descption">
                    The content available on this website, including text, graphics, images, and information, is provided
                    only for general informational purposes. The materials and details on these pages, along with any terms,
                    conditions, or descriptions, are subject to change without prior notice.
                </div>
            </div>
        </footer>

        <script src="
    https://cdn.jsdelivr.net/npm/layui@2.9.16/dist/layui.min.js
    "></script>
        <script src="https://infotoplaza.com/information/utils/jquery.js"></script>

        <script>

    </script>

        <script type="module">
        import {articleData, getAllUrlParams, addHeadElment} from '../../../utils/common.js'

        const id = getAllUrlParams().id || 0
        const category = getAllUrlParams().category || 'auto'

        const articleDetail = articleData[category].filter(item => {
            return item.id === Number(id)
        })[0]
        console.log(articleDetail);

        // 添加seo优化标签
        const seoArr = [
            {
                name: 'title',
                property: {
                },
                text: `${articleDetail.newsTitle} - infotoplaza.com`
            },
            {
                name: 'meta',
                property: {
                    content: articleDetail.seoText,
                    property: 'og:description'
                }
            },
            {
                name: 'meta',
                property: {
                    content: articleDetail.seoText,
                    name: 'description'
                }

            },

        ]
        for (let i in seoArr) {
            addHeadElment(seoArr[i].name, seoArr[i].property, seoArr[i].text)
        }

        $('.contentHtml').html(articleDetail.content)
        $('.author').html(`<span>By</span><a href='#' rel='author' title='Posts by ${articleDetail.author}'>${articleDetail.author}</a><span class='date'> —— </span>${articleDetail.publicTime} —— <a href='#' title='${articleDetail.classfy}'  class='type'>${articleDetail.classfy}</a>`)
        $('.category_name').html(` <a href="https://infotoplaza.com/information/category/${category}/index.html">${category.toUpperCase()}</a>`)

        // 今日推荐
        let todaysList = []
        for(let i  in articleData[articleDetail.classfy]){
            if(articleData[articleDetail.classfy][i].id !== articleDetail.id && todaysList.length < 4){
                todaysList.push(articleData[articleDetail.classfy][i])
            }
        }
        let relatedStr = `<div >
                    <h1 class="relatedHeading">
                     Latest Articles
                </h1>
                </div>`
        todaysList.map(item => {
            relatedStr += `  <article class="post subPosts">
                    
                    <div class="postsText">
                        <h4 class="postsTitle">
                            <a href="https://infotoplaza.com/information/detail/${item.classfy}/${item.articleName}">
                                <a href="https://infotoplaza.com/information/detail/${item.classfy}/${item.articleName}">
                                   ${item.newsTitle}
                                </a>
                            </a>
                        </h4>
                          <time datetime="${item.publicTime}">${item.publicTime}</time>
                    </div>
                    <div class="media">
                        <a href="https://infotoplaza.com/information/detail/${item.classfy}/${item.articleName}" title="${item.newsTitle}">
                            <div class="bgImg bgBox4 lazyloaded"
                                data-bgset="${item.imgUrl} 300w, ${item.imgUrl} 707w, ${item.imgUrl} 768w, ${item.imgUrl} 150w, ${item.imgUrl} 450w, ${item.imgUrl} 1000w"
                                data-bgsrc="${item.imgUrl}"
                                data-sizes="(max-width: 135px) 100vw, 135px"
                                style="background-image: url(&quot;${item.imgUrl}&quot;);">
                            </div>
                        </a>
                    </div>
                </article>`
        })
        $('.relatedPosts').html(relatedStr)

        // 随机推荐的
        let radomArr = []
        let tempArr = []
        for(let i in articleData){
            tempArr.push(...articleData[i])
        }
        for(let i =0; i < tempArr.length; i++){
            let randomNum = Math.floor(Math.random()* tempArr.length)
            if(radomArr.length < 4 ){
                if(tempArr[i].classfy === articleDetail.classfy && tempArr[i].id === articleDetail.id){

                }else{
                    radomArr.push(tempArr[randomNum])
                    tempArr.splice(i, 1);
                }
         
            }
        }
        console.log(radomArr,11);
        
        let btmContent = ''
        radomArr.map(item => {
                btmContent += `<article class="articleBox">
                            <a href="https://infotoplaza.com/information/detail/${item.classfy}/${item.articleName}" class="imgBox" title="${item.newsTitle}">
                                <div class="bgImg bgBox6 lazyloaded" data-bgset="${item.imgUrl} 450w, ${item.imgUrl} 1000w" data-bgsrc="${item.imgUrl}" data-sizes="(max-width: 361px) 100vw, 361px" style="background-image: url(&quot;${item.imgUrl}&quot;);">
                                </div>
                            </a>
                            <div class="mask">
                                <div class="contentText">
                                    <div class="typeBtn">
                                        <a href="https://infotoplaza.com/information/category/${item.classfy}/index.html">
                                            ${item.classfy.toUpperCase()}
                                        </a>
                                    </div>
                                    <h2 class="titleText">
                                        <a href="https://infotoplaza.com/information/detail/${item.classfy}/${item.articleName}">
                                        ${item.newsTitle}</a>
                                    </h2>
                                </div>

                            </div>
                        </article>`

        })
        $('.category_content').html(btmContent)

   // 搜索
   const input = document.querySelector('.layui-input')
        input.onkeyup = function (event) {
        let e = event || window.event;
        if (e && e.keyCode == 13) { //回车键的键值为13
            location.href = `https://infotoplaza.com/information/search/?key=` + input.value
        }
        }

        $('.menuBtn').on('click', function () {
            $('.mobileNav').css('transform', 'translateX(0)');
            $('.navMask').css('opacity', '1');
            $('.navMask').css('z-index', '1');
            $('.navMask').css('display', 'block');


        })
        $('.closeBtn').on('click', function () {
            $('.mobileNav').css('transform', 'translateX(-100%)');
            $('.navMask').css('opacity', '0');
            $('.navMask').css('z-index', '-1');
            $('.navMask').css('display', 'none');

        })
        let befortop = 0;
        //监听滚动条事件
        function callBack() {
            let aftertop = document.documentElement ? document.documentElement.scrollTop : document.body.scrollTop;//兼容
            if (aftertop - befortop > 0) {
                document.querySelector('.header').style.marginTop = '-60px'
                console.log('向下');
            } else {
                if (aftertop >= 50) {
                    document.querySelector('.header').style.marginTop = '-3px'
                }
                console.log('向上');
            }
            befortop = aftertop;
        }

        let timeout = null,
            startTime = Date.parse(new Date); // 开始时间
        window.addEventListener('scroll', function () {
            if (timeout !== null) clearTimeout(timeout);
            let curTime = Date.parse(new Date); // 当前时间
            if (curTime - startTime >= 1000) { // 时间差>=1秒直接执行
                callBack();
                startTime = curTime;
            } else { // 否则延时执行，像滚动了一下，差值<1秒的那种也要执行
                timeout = setTimeout(callBack(), 300);
            }
        });
    </script>
    </body>

</html>